package com.baizhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//商品分类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Category {
/*    CREATE TABLE `pms_product_category` (
            `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `parent_id` bigint(20) DEFAULT NULL COMMENT '上机分类的编号：0表示一级分类',
            `name` varchar(64) DEFAULT NULL,
  `level` int(1) DEFAULT NULL COMMENT '分类级别：0->1级；1->2级',
            `product_count` int(11) DEFAULT NULL,
  `product_unit` varchar(64) DEFAULT NULL,
  `nav_status` int(1) DEFAULT NULL COMMENT '是否显示在导航栏：0->不显示；1->显示',
            `show_status` int(1) DEFAULT NULL COMMENT '显示状态：0->不显示；1->显示',
            `sort` int(11) DEFAULT NULL,
  `icon` varchar(255) DEFAULT NULL COMMENT '图标',
            `keywords` varchar(255) DEFAULT NULL,
  `description` text COMMENT '描述',
    PRIMARY KEY (`id`)
)*/
    private Integer id;
    private Integer parent_id;
    private String name;
    private Integer level;
    private Integer product_count;
    private String product_unit;
    private Integer nav_status;
    private Integer show_status;
    private Integer sort;
    private String icon;
    private String keywords;
    private String description;
}
